<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
    <head>
        <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
        <link type="text/css" rel="stylesheet" media="screen" href="/i/css/katalog.css" />
        <script type="text/javascript" src="/i/js/jquery.js"></script>
        <script type="text/javascript" src="/js/jquery.swfobject.js"></script>

        <title><?= $this->title; ?></title>
        <script type="text/javascript">
            $(document).ready(function(){
               $("#lekcje_tab a").click(function(e){
                  e.preventDefault();
                  $("#podlekcja").load("/index/podlekcja/id/"+this.href);
                  $("#historia").load("/index/historia/id/"+this.href);
               });
               $("#lekcje_tab_hist a.podle").live('click',function(e){
                  e.preventDefault();
                  $("#podlekcja").load("/index/podlekcja/id/"+this.href);
               });
               $("a#uwagid").live('click',function(e){
                  e.preventDefault();
                  $("#pod_komentarz").load(this.href);
               });
               
               $("a#zalicz").live('click',function(e){
                  e.preventDefault();
                  $("#pod_komentarz").load(this.href);
               });
               $("#pod_komentarz form").live('submit',function(e){
                  e.preventDefault();
                  $.ajax({
                      type: 'POST',
                      url: '/index/uwagid/',
                      data: 'id='+$("#id")+'uwagi='+$("#uwagi").val(),
                      success: function(m){
                          alert ("Dodano komentarz");
                      }
                  });
                  
               });
               
		$('#testwav').flash();
	
               
            });
        </script>
 
    </head>
    <body>
        <div class="glowny">
            <div class="header">
                <div class="tytul"><h1>System Backoffice ELOGO</h1></div>
                
            </div>
            <?php echo $this->layout()->content ?>
            <div id="stopka">
                <img src="/i/img/banner_unia.png" alt="ELOGO przy wsparciu z POIG 8.1"/>
            </div>
            <div><p id="testwav" src="/wav.swf?url=/nagrania/180/180_r15-5_0.wav" width="20" height="20" wmode="transparent"></p></div>
        </div>
    </body>

</html>